return "Includes the current sprite in a radio button group. Attach to toggle buttons controlled by the UI Toggle Button behavior, or radio buttons created with the Radio Button tool on the Tools palette. The GetRadioValue message returns the text of the selected button. "&RETURN&"PARAMETERS:"&RETURN&"ò Group Name - Enter the name of the group to which this radio button belongs. Only one member of the group can be selected at at time. Do not use spaces."&RETURN&"òáInitially Selected - Turn this option on to make this radio button selected when the sprite first appears. If more than one radio button has Initially Selected on, the highest numbered sprite is selected. "&RETURN&"MESSAGES:" & RETURN & "ò GetRadioValue group_name - Returns the text of the named radio group's selected button." & RETURN & "ò SetRadioValue group_name, sprite_number - Sets the named radio button group's setting to be the sprite."& RETURN & "ò SetGroupValue - Sets the sprite to the group setting."
end
on getAssocMembers --added, fmk
set myPropList = [ ]
return myPropList
end getAssocMembers
on RadioHilite me, val
-- assumes if the sprite is not of type button, that it is a toggle button. If it's neither no adverse effect.
if ( the type of member ( the memberNum of sprite ( the spriteNum of me)) = #button) then
set the hilite of member (the member of sprite (the spritenum of me)) to val
else
sendSprite (the spritenum of me, #setToggleValue, val )